home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 288 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  746 b 

  1. Path: deneb.ifj.edu.pl!grebosz
  2. From: grebosz@deneb.ifj.edu.pl (Jurek Grebosz)
  3. Newsgroups: comp.lang.c++
  4. Subject: deque container - how to implement?
  5. Date: 3 Jan 1996 15:08:17 GMT
  6. Organization: University of Mining & Metallurgy
  7. Message-ID: <4ce651$92t@galaxy.uci.agh.edu.pl>
  8. NNTP-Posting-Host: deneb.ifj.edu.pl
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11.  
  12.  
  13.  
  14. --------------------------------
  15. deque implementation 
  16. --------------------------------
  17.  
  18. Dou you know any simple example of the deque container class?
  19. I would like to see it for "educational" purposes.
  20.  
  21. Specially: 
  22.     - why it is easy  to add an new element 
  23.     to  both ends of the que,
  24. and 
  25.  
  26.     - how difficult it is to add something in the middle.
  27.  
  28.  
  29.  
  30.                 Jurek Grebosz
  31.                 grebosz@bron.ifj.edu.pl
  32.  
  33.  
  34.